﻿1857.1.1 = {
	# Setup
	capital = 282 # Edo
	set_research_slots = 2

	### Economy
    add_ideas = generic_unemployment_idea
    set_variable = { unemployment_value_modifier = 0.1 }
    set_variable = { current_unemployment = 0.05 }
    clamp_variable = {
        var = current_unemployment
        min = 0
        max = 1
    }
    update_unemployment_modifier = yes
    add_to_variable = { money = 1 }
	set_variable = { current_loans_sum = 6 }

	# Laws & Ideas
	add_ideas = {
		# State & Country

		#hos_is_leader
		#no_heir
		industrializing
		pre_industrial_era
		doctrine_napoleonic_army_1
		#religion_shinto

		# Government

		#absolute_monarchy
		#no_constitution
		no_elections
		#no_separation
		#federalist

		# Culture

		privileged_education
		state_religion
		state_controlled_press
		foa_banned
		tu_prohibited
		kangaroo_court

		# Economic

		limited_exports
		taxation_level_1
		cl_legal
		
		

		# Population

		#stagnation_growth
		border_control
		racial_laws
		extensive_conscription
		absolutism
		pp_limited_party_freedom

		# Budget

		social_spending_level_1
		law_spending_level_2
		road_spending_level_1
		navy_spending_level_1
		army_spending_level_3
		research_spending_level_1

		# National Spirits

		JAP_zaibatsu
	}

	# Technology
	eoanbsys_technology_setup_developed_asia_1857 = yes

	# Army & Equipment
	JAP = {
		load_oob = "JAP_1856"
		add_equipment_to_stockpile = { type = convoy amount = 55 producer = JAP }

		add_equipment_to_stockpile = { type = infantry_equipment_rifle_0 amount = 3000 producer = JAP }
		add_equipment_to_stockpile = { type = infantry_equipment_rifle_1 amount = 1500 producer = JAP }
		add_equipment_to_stockpile = { type = uniform_equipment_0 amount = 2000 producer = JAP }

		create_equipment_variant = {
			name = "Early Gunboat Class"
			type = ship_hull_gunboat_0
			name_group = GER_CA_HISTORICAL
			parent_version = 0
			modules = {
				fixed_ship_battery_slot = ship_cannon_battery_0
				fixed_ship_fire_control_system_slot = fire_control_system_0
				fixed_ship_engine_slot = ship_engine_sail_1
				fixed_ship_armor_slot = ship_armor_capital_hardwood_0
				mid_1_custom_slot = ship_cannon_battery_0
				mid_2_custom_slot = ship_cannon_battery_0
			}
		}

		create_equipment_variant = {
			name = "Frigate Class"
			type = ship_hull_frigate_0
			name_group = GER_CA_HISTORICAL
			parent_version = 0
			modules = {
				fixed_ship_battery_slot = ship_cannon_battery_0
				fixed_ship_fire_control_system_slot = fire_control_system_0
				fixed_ship_engine_slot = ship_engine_sail_2
				fixed_ship_armor_slot = empty
				front_1_custom_slot = empty
				mid_1_custom_slot = ship_cannon_battery_0
				mid_2_custom_slot = empty
				rear_1_custom_slot = empty
			}
		}

		create_equipment_variant = {
			name = "Corvette Class"
			type = ship_hull_corvette_0
			name_group = GER_CA_HISTORICAL
			parent_version = 0
			modules = {
				fixed_ship_battery_slot = ship_cannon_battery_0
				fixed_ship_fire_control_system_slot = fire_control_system_0
				fixed_ship_engine_slot = ship_engine_sail_0
				fixed_ship_armor_slot = empty
				mid_1_custom_slot = empty
				front_1_custom_slot = empty
			}
		}
	}

	# Politics
	JAP = {
		set_politics = { ruling_party = autocracy }
		set_country_flag = Oceania_industrializing

		#Rivals
		set_variable = { rival_country = RUS.id }
			#Most Favoured Country
		set_variable = { most_favoured_country = ENG.id }

		set_popularities = {
			anarchism = 0
			ideology_social_liberalism = 0
			ideology_radical_socialism = 0
			social_egalitarianism = 0
			centrism = 0
			traditional_conservatism = 0
			radical_democracy = 0
			chauvinist_populism = 0
			autocracy = 100
			fundamentalism = 0
		}

	recruit_character = JAP_character_emperor_meiji
	recruit_character = JAP_character_komatsu_akihito

	# create_corps_commander = {
	# 	name = "Prince Komatsu Akihito"
	# 	picture = GFX_Portrait_JAP_Emperor_Akihito
	# 	traits = { infantry_leader }
	# 	skill = 3
	# 	attack_skill = 3
	# 	defense_skill = 1
	# 	planning_skill = 2
	# 	logistics_skill = 2
	# }

	recruit_character = JAP_character_arichi_shinanojo
	recruit_character = JAP_character_arisugawa_taruhito
	recruit_character = JAP_character_edmund_morel
	recruit_character = JAP_character_hermann_rumschottel
	recruit_character = JAP_character_saionji_inmochi
}
	 #Japan's National Debt amounted to (= Pound Sterling) at the end of 1857; income per year roughly 240m Thalers (= 35.12m Pound Sterling) = GDP of debt
}
1870.5.19 = {
	capital = 282

	set_convoys = 140

	add_political_power = 150
	increase_ps_by_one = yes

	load_focus_tree = jap_mac_imperial_ft
	unlock_national_focus = JAP_imperalist_victory
	#unlock_national_focus = JAP_five_charter_oath
	#unlock_national_focus = JAP_abolish_the_han_system
	#unlock_national_focus = JAP_appoint_daimyos_as_govenors
	unlock_national_focus = JAP_formalize_plans
	unlock_national_focus = JAP_adopt_the_yen
	
	set_research_slots = 2
	
	starting_train_buffer = 4

	add_to_variable = { prestige_score = 90 }

	add_ideas = {
		# State & Country

		#hos_is_leader
		#has_heir
		industrializing
		victorian_era
		doctrine_victorian_army_1

		#religion_shinto

		# Government

		#absolute_monarchy
		#no_constitution
		no_elections
		#no_separation
		#federalist

		# Culture

		privileged_education
		state_religion
		state_controlled_press
		foa_banned
		tu_prohibited
		kangaroo_court

		# Economic

		limited_exports
		taxation_level_2
		cl_legal
		
		

		# Population

		#encouraged_growth
		border_control
		racial_laws
		extensive_conscription
		absolutism
		pp_limited_party_freedom

		# Budget

		social_spending_level_1
		law_spending_level_2
		road_spending_level_2
		navy_spending_level_1
		army_spending_level_3
		research_spending_level_1

		# National Spirits

		JAP_zaibatsu
		JAP_samurai_spirit_western_weapons
		JAP_recovering_from_boshin_war
		five_charter_oath_idea
		JAP_riots_of_rights
	}

	# Diplo

	#Rivals
		set_variable = { rival_country = RUS.id }
	#Most Favoured Country
		set_variable = { most_favoured_country = BEL.id }

	set_politics = {
		ruling_party = autocracy
	}

	set_popularities = {
		anarchism = 0
		ideology_social_liberalism = 0
		ideology_radical_socialism = 0
		social_egalitarianism = 0
		centrism = 0
		traditional_conservatism = 0
		radical_democracy = 0
		chauvinist_populism = 0
		autocracy = 100
		fundamentalism = 0
	}

	set_technology = {
		###Tribal
		tribal_carrier_birds = 1
		tribal_electrical_theory = 1
		tribal_steel_tools = 1
		tribal_tatics = 1
		tribal_gunpowder = 1
		tribal_riding = 1
		tribal_steam_experiments = 1
		tribal_forging = 1
		tribal_artisan = 1
		tribal_chemistry = 1
		tribal_guilds_trade = 1
		tribal_crop_planting = 1
		tribal_irrigation = 1
		tribal_crop_rotation = 1
		tribal_salted_smoked_goods = 1
		tribal_leching = 1
		start_build_tech = 1
		
		###Army
		#Weapons & Equipment
		traditional_mixed_arms = 1 #Pike and Shot
		infantry_weapons = 1 #Smoothbore
		 
		rifle_equipment1 = 1 #Minie
		rifle_equipment2 = 1 #Enfield
		tech_infantry_breech_loading = 1
		rifle_equipment3 = 1 #Snider-Enfield
		tech_infantry_flintlock_pistol = 1 #Flintlock Pistols
		tech_infantry_caplock_pistol = 1 #Caplock Pistols
		hand_revolvers = 1 #Hand Revolvers
		improved_handguns = 1 #Better Desings
		tech_infantry_practical_rifling = 1 #Practical Rifling
		improved_matchlock = 1 #Improved Percussion Cap
		tech_infantry_infantry_swords = 1 #Infantry Swords
		socket_bayonet = 1 #Socket Bayonet
		yataghan_bayonet = 1
		sawback_bayonet = 1
		#Uniforms
		tech_infantry_napoleonic_uniform = 1 #Napoleonic Uniform
		vic_army_cloth = 1 #Victorian Uniform
		civil_army_cloth = 1 #1850 Uniform
		sixfour_army_cloth = 1 #1864 Uniform
		#Cavalry
		basic_cavalry = 1 #Horse and Tack
		horse_transport = 1 #Transport Horses
		horse_artillery = 1 #Horse Limber
		improved_cavalry = 1
		specialised_cavalry = 1
		cavalry_recon = 1
		cav_supply = 1
		mounted_infantry = 1 #Mounted Infantry
		dragoon_equipment = 1
		#Special Forces
		tech_infantry_british_redcoats = 1
		tech_infantry_special_infantry_corps = 1 #Special Infantry Corps
		tech_infantry_colonial_marines = 1 #Naval Infantry
		tech_infantry_improved_landing_gear = 1
		tech_infantry_navy_revolver = 1 #Navy Revolvers
		tech_infantry_standardised_navy_revolver = 1
		tech_infantry_terrain_adaptability = 1
		
		###Army Support
		tech_support = 1 #Victorian Support Equipment
		tech_engineers = 1
		tech_recon = 1
		tech_wired_signal_company = 1
		
		###Military Vehicles
		basic_train = 1 #Simple Steam Train
		train_1855 = 1 #Early Steam Train
		train_1865 = 1 #Advanced Steam Train
		armor_train_experiment = 1
		armor_tech_velocipede = 1 #Velocipede
		armor_tech_steam_car_experiment = 1
		
		###Artillery
		gw_artillery = 1 #Bore Gun
		early_howitzer = 1 #Howitzer
		rifled_howitzer = 1
		heavier_design = 1
		rml_field_gun = 1 #RML Field Gun
		rbl_field_gun = 1
		studded_shells = 1
		early_rockets = 1
		spin_stabilised_rockets = 1
		staged_rockets = 1
		improved_smoothbore = 1 # Smoothbore
		siege_gun = 1
		
		###Naval
		#Gunboats and Monitors
		tech_naval_early_gunboat = 1 #Early Gunboat
		tech_naval_1850_gunboat = 1
		tech_naval_mtg_1860_gunboat = 1
		tech_naval_mtg_gunboat_engineering_1 = 1
		tech_naval_mtg_1868_gunboat = 1
		tech_naval_mtg_prototype_monitor = 1 #Prototype Monitor
		#Corvettes and Destroyers
		tech_naval_corvette = 1 #Early Corvette
		tech_naval_mtg_1857_corvette_hull = 1 #1857 Corvette
		tech_naval_mtg_1860_corvette_hull = 1
		tech_naval_ironclad_frigate_corvette_hull = 1 #1868 Ironclad Corvette
		#Mainline Ships
		tech_naval_early_frigate = 1 #Early Frigate
		tech_naval_1850_frigate = 1 #1850 Frigate
		#Heavy Ships
		tech_naval_lineship = 1 #Early Lineship
		tech_naval_1857_lineship = 1
		tech_naval_mtg_hardwood_capital_ship_hulls = 1 #Hardwood Capital Ship Hulls
		tech_naval_prototype_ironclad = 1 #Early Ironclad
		tech_naval_ironclad_frigate = 1 #Ironclad
		#Armament
		tech_naval_mtg_24_pounder_battery = 1 #24-Pounder Battery
		tech_naval_mtg_32_pounder_battery = 1 #32-Pounder Battery
		tech_naval_mtg_rml_battery = 1
		tech_naval_mtg_rbl_battery = 1
		tech_naval_mtg_early_turrets = 1 #Early Turrets
		tech_naval_mtg_modern_ironclad_rams = 1
		tech_naval_mtg_explosive_shells = 1 #Explosive Shells
		tech_naval_mtg_breach_loaded_shells = 1
		#Mines and Torpedoes
		tech_naval_mtg_simple_floating_contact_mine = 1
		tech_naval_mtg_floating_contact_mine = 1
		#Propulsion
		tech_naval_mtg_sails = 1 #Sails
		tech_naval_mtg_paddle_wheels = 1 #Paddle Wheels
		tech_naval_mtg_steam_driven_single_screw_propeller = 1 #Steam Driven Single-Screw Propeller
		#Fire Control
		tech_naval_mtg_crows_nest = 1 #Crows Nest
		tech_naval_mtg_artillery_spotting_techniques = 1
		#Repair Crews
		tech_naval_mtg_repair_crews = 1 #Repair Crews
		#Transport Ships
		tech_naval_capital_ship_naval_transportation = 1 #Capital Ship Naval Transportation
		tech_naval_mtg_merchant_ship_requisitioning = 1 #Merchant Requisitioning

		###Flight Technology
		early_balloon = 1 #Early Recon Balloon

		###Mechanical Engineering
		#Railroad
		mass_transit_early = 1	#Early Mass Transit
		tech_humanities_metropolitan = 1 #Metro
		tech_humanities_roadworks = 1 #Roadworks
		tech_humanities_asphalt_roads = 1
		iron_railways = 1 #Wrought Iron Railways
		steel_railways = 1 #Steel Railways
		standardized_gauge = 1
		#Locomotives
		steam_locomotive = 1 #Steam Locomotive I
		early_electric_trains = 1
		steam_locomotive_2 = 1 #Steam Locomotive II
		traction_engine = 1
		steam_locomotive_3 = 1 #Steam Locomotive III
		#Engines
		steam_engine = 1 #Atmospheric Steam Engine
		high_speed_steam_engine = 1 #High-Pressure Steam Engine
		porter_allen_engine = 1
		early_thermodynamics_theories = 1
		#Industrial Production
		manufactories = 1 #Manufactories
		factory_industry_1 = 1 #Factory Industry I
		industrial_era_tools_1 = 1
		construction_1 = 1 #Hydraulic Cranes
		#Machine Tools
		mechanical_production_1 = 1
		interchange_parts = 1
		corliss_steam_engine = 1
		machine_tools_1 = 1
		
		###Process Engineering
		#Chemical Process
		inorganic_chemistry = 1 #Inorganic Chemistry
		hot_blast_furnaces = 1 #Hot Blast Furnace
		industrial_blast_furnace = 1 #Industrial Blast Furnace
		industrial_finery_forge = 1 #Industrial Finery Forges
		chemical_vapor_deposition = 1
		cast_iron_industrialization = 1
		wrought_iron_industrialization = 1
		regenerative_furnace = 1
		siemens_martin_process = 1
		dry_puddling_process = 1
		bessemer_process = 1
		industrial_ironworks_1 = 1
		#Oil Refining
		refining = 1 #Refining
		early_oil_refining = 1
		mechanized_mining = 1 #Drilling Rig
		oil_refinery_1 = 1
		
		###Biochemistry
		#Chemical Synthesis
		wohler_synthesis = 1 #Wohler Synthesis
		organic_chemistry = 1
		chemical_structure_model = 1
		periodic_table = 1
		polymer_chemistry = 1 #Polymer Chemistry
		celluloid = 1
		#Food Preservation
		early_medicine = 1 #Early Medicine
		hygiene = 1
		antiseptics = 1
		principles_of_heredity = 1
		food_preserving_icebox = 1 #Icebox Preservation
		food_canning = 1 #Food Canning
		pasteurization = 1
		vapor_compression_refrigerator = 1
		#Agriculture
		early_artificial_fertilizer = 1 #Early Artificial Fertilizer
		pre_industrial_farms = 1 #Pre-Industrial Farms
		cottage_industry_1 = 1
		agricultural_engineering = 1
		high_phosphate_fertilizer = 1
		copper_salts_pesticides = 1
		fungicides = 1
		mechanized_farming = 1
		threshing_machine = 1 #Threshing Machine
		manufactured_seed_drill = 1
		
		###Electronics and Instruments
		#Alternating Current
		early_alternators = 1 #Early Alternators
		#Direct Current Battery
		woolrich_electrical_generator = 1 #Woolrich Electrical Generator
		voltas_battery = 1 #Volta's Battery
		lead_acid_battery = 1
		early_dynamo_generator = 1
		theory_of_electromagnetism = 1
		jedliks_dynamo = 1
		dynamo_electric_machine = 1
		gramme_dynamo = 1
		hydroelectric_plant = 1
		#Telegraph
		electrical_engineering = 1 #Electrical Engineering
		early_incandescent_lightbulb = 1
		electrical_telegraph = 1
		#Lightbulb
		geissler_tube = 1 #Geissler Tube
		#Photography
		daguerreotype = 1 #Daguerrotype
		ambrotype = 1
		tintype = 1
		collodion_process = 1
		photographic_glass_plate = 1
		dry_plate = 1
		#Explosives
		pyroglycerine_synthesis = 1 #Pyroglycerine Synthesis
		nitroglycerine = 1
		dynamite = 1
		
		###Socio-Economics & Humanities
		tech_humanities_mercantilism = 1 #Mercantilism
		tech_humanities_saint_simonianism = 1
		tech_humanities_neo_kantianism = 1
		tech_humanities_impressionism = 1
		tech_humanities_capitalism = 1 #Capitalism
		tech_humanities_social_stratification = 1 #Social Stratification
		shift_work = 1
		tech_humanities_workers_rights = 1
		tech_humanities_trade_unions = 1
		tech_humanities_socialism = 1
		tech_humanities_industrial_society = 1 #Industrial Society
		tech_humanities_public_works = 1 #Public Works
		tech_humanities_sewage_system = 1
		early_hospitals = 1
		
		###Aviation
		mongolfiere = 1 #Mongolfiere
		giffard_airship = 1
		balloon_designs = 1
		navigable_balloons = 1
		ornithopter = 1 #Ornithopter
		aerial_steam_carriage_design = 1
		early_aileron_control_system = 1
		planophore = 1
		screw_propeller = 1 #Screw Propeller
		early_aerodynamics = 1
		
		###Special Projects
		
		###Land Doctrines
		#land_doctrine_victorian = 1 #Victorian Army

		###Sea Doctrines

		###Air Doctrines
	}

	set_grand_doctrine = grand_doctrine_victorian_era
	set_grand_doctrine = grand_doctrine_victorian_air

	add_equipment_to_stockpile = { type = infantry_equipment_rifle_0 amount = 1000 producer = JAP }
	add_equipment_to_stockpile = { type = uniform_equipment_0 amount = 1000 producer = JAP }
	set_fuel_ratio = 0.05
}
1869.1.1 = {
	set_variable = {
		var = population_bookmark_adjustment
		value = 0.08
	}
}
1884.1.1 = {
	set_variable = {
		var = population_bookmark_adjustment
		value = 0.17
	}
}
1909.1.1 = {
	set_variable = {
		var = population_bookmark_adjustment
		value = 0.51
	}
}